package com.xyz.dao;

import com.xyz.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xyz.eduservice.entity.frontvo.CourseFrontInfoVo;
import com.xyz.eduservice.entity.vo.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author zsr
 * @since 2021-06-11
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    /**
     * 获取课程发布信息
     * @param id 课程id
     * @return
     */
    CoursePublishVo selectCoursePublishVoById(String id);

    /**
     * 获取课程信息
     * @param courseId 课程id
     * @return
     */
    CourseFrontInfoVo selectInfoWebById(String courseId);


}
